﻿//-----------------------------------------------------------------------
// <copyright>
// This file is subject to the terms and conditions of the Microsoft Public License (MS-PL).
// See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL for more details.
// </copyright>
//----------------------------------------------------------------------- 
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Fulcrum.UnitTests
{
    [TestClass]
    public class GenerationDataContextTests
    {
        class TestGenerationDataContext : GenerationDataContext
        {
            public TestGenerationDataContext()
                : base()
            {
                // nothing
            }

            public override string OutputFileName
            {
                get { throw new NotImplementedException(); }
            }

            public override string TemplateFileName
            {
                get { throw new NotImplementedException(); }
            }

            public override string Name
            {
                get { throw new NotImplementedException(); }
            }
        }

        [TestMethod]
        public void TestOutputPath()
        {
            var dataContext = new TestGenerationDataContext();

            Assert.AreEqual("", dataContext.OutputPath);
        }
    }
}
